package cn.cdutetc.foxwatch.exception;

import lombok.Getter;

/**
 * @author 王勇
 * @ClassName： MyException
 * @ClassPath： cn.cdutetc.foxwatch.exception.MyException
 * @Description：
 * @date 2024/10/8 20:38
 */
@Getter
public class MyException extends Exception {
    private int statusCode;

    //构造函数
    public MyException(int statusCode, String message) {
        super(message);
        this.statusCode = statusCode;
    }
}
